package com.inf.service;

import java.util.List;

import javax.annotation.Resource;

import com.inf.dao.mapper.PersonMapper;
import com.inf.vo.BaseVo;
import org.springframework.stereotype.Service;

/**
 * Created by zhangbn on 2018/11/14.
 */
@Service
public class PersonService {

    @Resource
    PersonMapper personDao;

    public List<BaseVo> query(Integer limit) {

        List<BaseVo> personList = personDao.selectPassinfo(limit);
        return personList;
    }


}
